import ArrayQueue from './01.基于数组实现队列';

const queue1 = new ArrayQueue<string>();

queue1.enqueue('A');
queue1.enqueue('B');
queue1.enqueue('C');
queue1.enqueue('D');
queue1.enqueue('E');
queue1.enqueue('F');

console.log(queue1.peek());
console.log(queue1.size);

queue1.dequeue();

console.log(queue1.peek());

console.log(queue1.isEmpty());
